'use strict'
const argEnv = require('yargs').argv.env
let wap_url = (function(){
  if( argEnv == 4 ){
    //生产
    // return '"https://wap.chtfund.com"'
      return '"https://ac.chtfund.com"'
  }
  else if( argEnv == 3 || argEnv == "3_b"){
    //预生产
    // return '"https://wap.haomaojf.com"'
      return '"https://ac.haomaojf.com"'
  }
  else if ( argEnv == 2){
    //测试
      return '"https://ac-qasa.chtfundtest.com"'
    // return '"https://h5.chtfundtest.com"'
  }else{
    //本地
    return '"https://wap.htjf4.com"'
  }
})()
module.exports = {
  NODE_ENV: '"production"',
  WAP_URL:  wap_url
}
